Network Configuration

Quectel Pi M1 Weston 桌面环境支持通过以太网和无线网络进行网络连接。

系统网络管理主要通过 NetworkManager 服务完成,用户可以使用命令行工具 nmcli 对网络进行配置和状态查询。

支持的网络接口包括:

  • RJ45 以太网接口

  • WiFi 无线网络接口

网络接口

../../../_images/image_AWNmbeQmIoEFFCxIcm3cUscMnjd.webp

Ethernet Configuration

Hardware Connection

The Quectel Pi M1 provides an onboard RJ45 Ethernet interface. An example connection is shown below:

../../../_images/image_BOwTbHcfXo4srWxhA7rcSnTXnGb.webp

View Network Interfaces

After entering the Weston desktop, click the square icon in the upper-left corner to open the Wayland Terminal, and then check the current system network interfaces:

ip addr
../../../_images/image_Gy1LbmN8qoJdDGxJqUSca8Rknkc.webp

Obtain the IP Address

Check the current IP address:

ip addr show eth0
../../../_images/image_SUvxbM1yfozLCzxYSsucVBvwnJf.webp

Wireless Network Configuration

View Wireless Devices

nmcli device
../../../_images/image_P4p1bT3mVok7hxxjRz9cUYUznec.webp

Scan for Wi-Fi Networks

nmcli device wifi list
../../../_images/image_NlA8bxgNHoytiRxCPJlcvg4Cn4d.webp

Connect to Wi-Fi

nmcli device wifi connect <SSID> password <PASSWORD>

Example:

nmcli device wifi connect Quectel password 12345678

Check Wi-Fi Connection Status

nmcli device status
../../../_images/image_GBQjbEkx9oiRHuxUH66clffmnBb.webp

The result shows that wlan0 is in the connected state, indicating that the device has successfully connected to the Quectel Wi-Fi network.

USB Network

To use a USB network connection, prepare a USB Ethernet adapter. Connect the adapter to the device, and then connect an Ethernet cable to the adapter’s RJ45 port. For subsequent configuration, refer to the Ethernet configuration described above.